package com.base.user.service;

import java.util.Map;

import com.base.user.entity.Employee;
import com.mysteel.page.Page;

public interface EmployeeService 
{
	/**
	 * 保存
	 * @param employee
	 */
	void saveEmployee(Employee employee);
	/**
	 * 删除
	 * @param id
	 */
	void deleteEmployee(long id);
	/**
	 * 更新
	 * @param e
	 */
	void updateEmployee(Employee e);
	/**
	 * 单查询
	 * @param id
	 */
	Employee getEmployee(long id);
	
	/**
	 * 多查询
	 * @param map
	 * @return
	 */
	Page<Employee> queryEmployee(Map<String, Object> params, int currentPageNum, int maxPageRowCount);
	
}
